package com.stone.design.mode.flyweight;

/**
 * 测试客户端
 *
 * @author Mr_wenpan@163.com 2022/03/14 21:30
 */
public class Client {

    public static void main(String[] args) {
        // 通过工厂获取一个对象
        SignInfo signInfo = SignInfoFactory.getSignInfo();
        SignInfo info = SignInfoFactory.getSignInfo("wenpan");
        System.out.println(info);
        // 进行其他业务处理
        System.out.println(signInfo);
    }
}
